﻿using System.Collections.Generic;
using Contracts.Entities;

namespace Client.Resources
{
    public class MovieNameComparer : IEqualityComparer<MovieItem>
    {
        public bool Equals(MovieItem x, MovieItem y)
        {
            return x.Name == y.Name;
        }

        public int GetHashCode(MovieItem obj)
        {
            return 0;
        }
    }
}
